<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:tr="http://myfaces.apache.org/trinidad"
   contentType="text/html">   
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>  
  </head>
  <body>
	
	<h:outputText value="Ciao" ></h:outputText>
	
	<h:dataTable value="#{retrieveImages.imageKeys }" var="key">
	<f:facet name="header">
		<h:outputText value="#{retrieveImages.headerMessage }"></h:outputText>
	</f:facet>
	<h:column> <h:graphicImage value="showImage?id=#{key.id}"></h:graphicImage> </h:column>
	
	
	</h:dataTable>
	
	<h:outputLink value="welcome.jsf">torna indietro</h:outputLink>
	
	    
  </body>
</html>
</f:view>